export default $axios => ({
    getTotalTraffic() {
        return $axios.get('/server/speed')
    },
    getDeviceInfo() {
        return $axios.get('/server/cpu')
    },
    startCapture() {
        return $axios.get('/server/capture/start')
    },
    
})